package com.dljd.javase.t8;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

public class ThrowsDemo {

    public static void readFile(String filePath) throws FileNotFoundException ,NullPointerException{
        FileInputStream  in=new FileInputStream(new File(filePath));
    }

    public static void main(String[] args) {
       // readFile("D:/1.txt");
    }
}
